#region Summary 

// 
// Owner : JackieHan 
// 
// Solution : LearnSolution
// 
// Project :JackieHan.DoNet.Ioc
// 
// File : TestFactoryMode.cs
// 
// CopyRight : Copyright © 2009-2010 JackieHan Personal, All Rights Reserved 
// 
// Summary : 通过简单工厂来实例化接口
// 
// History : 
//			2010-06-29 16:06:51	    Create 
// 

#endregion

#region Using 

using System;
using System.Collections.Generic;
using NUnit.Framework;

#endregion

namespace JackieHan.DoNet.Ioc
{
    /// <summary> 
    /// 通过简单工厂来实例化接口
    /// </summary> 
    [TestFixture]
    public class TestFactoryMode
    {
        [Test]
        public void Test()
        {
            IPersonDao person = PersonFactory.CreatePersonDao();
            person.Save();
            Console.WriteLine("通过简单工厂来实现调用");
        }
    }
}